package Work5;

public class MyThread9 extends Thread{
	public void run() {
		synchronized (Demo.lock) {
			int sum =0;
			for(int i=81;i<91;i++){
				sum =sum+i;
			}
			int num = Demo.sum;
			Demo.sum = num+sum;
		}
		
	}
}
